<?php
declare (strict_types = 1);

namespace app\appointment\controller;

use app\appointment\model\CarType as CarTypeModel;

class CarType extends Controller
{
  public function list()
  {
      $model = new CarTypeModel;
      $list = $model->getList(['status' => 1]);
      return $this->renderSuccess(compact('list'));
  }
}
